package mapper;

import com.sqsf.javabean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserMapper {
    List<User> selectAllUser();

    User selectById(int id);

    List<User> selectByIdAndSal(int id,double sal);

    List<User> selectByCondition(User user);

    int deleteByIds(@Param("ids") Integer[] ids);


    int deleteByArray(int[] ids);
}
